Release 10.1A: OpenEdge Getting Started:
Progress OpenEdge Studio
Running the sample application
Running the SportsPro sample application gives you a feel for what you can build with the AppBuilder and SmartObject technology. The sample application contains several modules, each demonstrating a technique for solving a business problem. You will build parts of the Order Tracking System module in the tutorial and exercises later in this guide.
![]()
To run the SportsPro sample application:
- If you have not already connected to the database, connect to your copy of the Sports2000 database. See "Creating and connecting to the Sports2000 database" section for information about connecting to your copy of the Sports2000 database.
- Choose the AppBuilder icon from the Desktop toolbar to start the AppBuilder. One of the windows that appears by default is the PRO*Tools palette:
![]()
- Choose the Run button
from the PRO*Tools palette. The Run Procedure dialog box appears:
![]()
- Type wmain.w for the Name of Procedure to Run.
If you copied the sample files as described in "Copying the sample files" section, you do not need to qualify the filename with its directory. The
wmain.wfile should be in your working directory which is a standard entry in your PROPATH.- Choose Run. The main window of the SportsPro sample application appears:
![]()
The SportsPro application’s main window is a SmartWindow. Most of the buttons on this SmartWindow use the
FLAT–BUTTONattribute to create a two-dimensional look.Table 2–2 lists the components used in the main window of the SportsPro sample application. It lists all the procedure files, all the SmartObjects, and any simple objects with important functions. Except for SmartObjects like SmartFilters for which the Application Development Model (ADM) supplies the masters, the procedure files and SmartObject master files listed in this table are in the
guifolder in your working directory.
Note: Table 2–2 and the tables in later sections present the objects and procedures from each module in an event-driven order. The objects contained in another object, and the procedures executed in that object, are listed directly after an object. Where data passes between objects and procedures, they are listed chronologically. Otherwise, objects are listed from top to bottom in their container.
Each of the buttons on the sample application’s main window launches a module. You can now examine these modules in turn. As you become more familiar with the OpenEdge products, you can return to these modules and examine them in greater detail. These modules show how to accomplish several common programming tasks.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |